package com.itcast.staticdemo.Demo05;

import java.io.IOException;

/*
Runtime
*/
public class Test {
    public static void main(String[] args) throws IOException {
        Runtime runtime = Runtime.getRuntime();
//        runtime.exec("shutdown -s -t 5000");
        runtime.exec("shutdown -a ");
    }
}
